#pragma once

#include "EventEngine/IEvent.h"

using namespace NTrader;

class SumEvent :public IEvent
{
public:
	SumEvent()
	{
		SetEventType(EventType::EVENT_TEST);
	}

	~SumEvent()
	{

	}

	void Set(int64_t x ) override
	{
		this->x = x;
	}

	void Get(int64_t& x) override
	{
		x = this->x;
	}

private:
	int64_t x;
};